package nl.boelen.game.net.packet;

public enum PacketTypes {
    INVALID(-1), JOIN(10), LEAVE(11), PLAYERREQUEST(12), CLOSEDSERVER(13), CHECKCONNECTION(14), MOVEMENT(31), CHUNK(20), GETCHUNK(
            21), HEALTH(30);

    private int packetId;

    private PacketTypes(int packetId) {
        this.packetId = packetId;
    }

    public int getId() {
        return packetId;
    }
}
